<%--
  Created by IntelliJ IDEA.
  User: 陈奕安
  Date: 2025/5/27
  Time: 10:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>成功页面</title>
</head>
<body>
<%
    request.setCharacterEncoding("utf-8");
    long startTime=session.getCreationTime();
    long endTime=session.getLastAccessedTime();
    int time=(int) (endTime-startTime)/1000;
    int counter=(int) session.getAttribute("counter");
%>
恭喜你猜对了！！！<br>
你总共猜了<%=counter%>次<br>
共耗时<%=time%>秒
</body>
</html>
